#!/bin/sh

#time1=07:45
#time2=07:40
nodes="/home/script/nodes"
for i in `cat ${nodes}`;do
    ssh $i "shutdown -h now"
done

shutdown -h now
